/**
 * 
 */
package business;

import java.util.HashMap;

import model.*;

import dbAccess.AppSettingsDBAccess;
import exceptions.*;

/**
 * @author Anthares
 *
 */
public class AppSettingsManager {
	private AppSettingsDBAccess apdba = new AppSettingsDBAccess();
	
	public HashMap<AppSettingsEnum, AppSettings> loadAppSettings() throws DatabaseErrorException, PasIdentificationException{
		return apdba.loadAppSettings();
	}
	public void saveAppSettings(HashMap<AppSettingsEnum, AppSettings> appSet) throws DatabaseErrorException, PasIdentificationException, InvalidSettingException{
		apdba.saveAppSettings(appSet);
	}
}
